How to Access Matlab from Java

نویسنده

  • Andreas Klimke
چکیده

Combining the strengths of the Java programming language and The Mathworks’ Matlab offers interesting new possibilities for application development. Java and its J2EE development environment are well established today as to provide solutions for dynamic Web services, large-scale distributed systems, and other network-centric applications. Matlab is a technical computing environment with a high-level programming language. Due to its ease of use and its strong graphics capabilities, it has become popular across many engineering disciplines. Matlab includes an interface to Java. It allows Matlab to access Java (you may call Java classes from Matlab), but not vice versa. This introductory article presents two alternative solutions on how to interface Matlab with Java, one based on the Java Runtime class, the other one based on the Java Native Interface and Matlab’s C Engine library. With the proposed strategies, a Java-based system can easily start a new Matlab session and communicate with it, thus employ Matlab as the computational engine. Advantages and disadvantages of each approach are presented.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Web-based Interoperable Method for accessing e-learning Remote Repositories using directed XML-based Remote Procedure Calls

The objective of this paper is to present a commune standard web-based interface that allows different content owners to be networked through one single engine provided by an e-learning platform, that was developed in our laboratory [2], [3]. Each content owner keeps locally the contents of the platform and manages owned data without external interferences. The end user can make queries from a ...

متن کامل

An asynchronous Java interface to MATLAB

MATLAB, an interactive environment for numerical and symbolic computation, supports a number of interfaces to foreign programming languages including Java. However, there is no appropriate support for calling back MATLAB functions from within the Java Virtual Machine integrated with MATLAB. This paper presents such an interface which is based exclusively on documented and portable mechanisms su...

متن کامل

A history of Floral diversity (pollen, spores and algal) during the latest Holocene in the Bandung basin based on palynological analysis in Cihideung, West Java, Indonesia

   Floral diversity is a measure of number of type flora in an area, and reflects how vegetation develops in response to the environmental condition during a certain time interval. The present study aims to examine changes in the diversity of vegetation (pollen, spores and algae), evenness, and similarity in the Bandung Basin through a core of 240 cm depth using a ground drill, as well as  the ...

متن کامل

Biouml – Open Source Extensible Workbench for Systems Biology

Motivation: With the completion of several genomics initiatives, including the Human Genome Project, researchers are poised to begin the next phase of elucidating how living systems function. This step requires integrated software environment that spans the comprehensive range of capabilities. Results: BioUML – Biological Universal Modeling Language – is open source extensible Java workbench fo...

متن کامل

Interactive Learning of Control Concepts Using Easy Java Simulations

This paper deals with the creation of interactive computer simulations that can be used as virtual laboratories in the field of control engineering education. We introduce EJS, a Java-based tool designed to help create interactive scientific simulations, which has been extended to provide support for authors in this field. Creating interactive simulations using EJS involves the following three ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003